#ifndef __TRANSPORT_H
#define __TRANSPORT_H
#include "sys.h"
#define SOCK_TCPSS 3
#define SOCK_TCPCC 4

extern uint8_t domain_ip[4];

int transport_sendPacketBuffer(u8 socketnum ,unsigned char* buf, int buflen);
int getdata_1(unsigned char* buf, int count);
int getdata_2(unsigned char* buf, int count);
int getdata_3(unsigned char* buf, int count);
int getdata_4(unsigned char* buf, int count);
int getdata_5(unsigned char* buf, int count);
int getdata_6(unsigned char* buf, int count);
int getdata_7(unsigned char* buf, int count);
int getdata_8(unsigned char* buf, int count);
int transport_open(u8 socketnum,int port);
int transport_close(u8 socketnum);

#endif
